package com.letoken.platform.repo.admin.res.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "查询app用户列表请求返回对象", description = "查询app用户列表请求返回对象")
public class QueryAppUserListRes {


    @ApiModelProperty(value = "账号id")
    private String userId;

    @ApiModelProperty(name = "username", value = "账户名称")
    private String username;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(name = "inviterId", value = "邀请人id")
    private String inviterId;

    @ApiModelProperty(name = "leaderId", value = "领导人id")
    private Integer leaderId;

    @ApiModelProperty(name = "teamMember", value = "团队人数")
    private Integer teamMember;

    @ApiModelProperty(name = "teamSumValue", value = "团队总业绩")
    private Integer teamSumValue;

    @ApiModelProperty(name = "ecoValue", value = "生态建设值")
    private BigDecimal ecoValue;

    @ApiModelProperty(name = "issued", value = "已发行")
    private BigDecimal issued;

    @ApiModelProperty(name = "waitCirculated", value = "待流通")
    private BigDecimal waitCirculated;

    @ApiModelProperty(name = "circulation", value = "已流通")
    private BigDecimal circulation;

    private String invitePath;

    @ApiModelProperty(value = "绑定上级时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime bandTime;

    @ApiModelProperty("账号是否锁定 null,0正常 1冻结")
    private Integer locked;

    private Integer level;

    private String nearestCommunityLeader;

    private String communityAddress;

    private String communityUsername;
}
